package com.gopay.common.domain.bank.route.po.pay;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @description  付款路由日志表
 * @author jianghp
 * @date 2018/5/3 14:06
 * Copyright (c) 2018. www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "PAY_ROUTE_LOG")
public class PayRouteLog extends BaseEntity {

    private static final long serialVersionUID = 6465168267505766124L;

    @Id
    @Column(name = "GOPAY_ORDER_ID")
    private String gopayOrderId;

    @Column(name = "TYPE")
    private String type;

    @Column(name = "SOLUTION_ID")
    private Long solutionId;

    @Column(name = "RULE_ID")
    private Long ruleId;

    @Column(name = "PAY_REQ")
    private String payReq;

    @Column(name = "PAY_REP")
    private String payRep;

    @Column(name="CREATED_TS")
    private Date createdTs;


    public String getGopayOrderId() {
        return gopayOrderId;
    }

    public void setGopayOrderId(String gopayOrderId) {
        this.gopayOrderId = gopayOrderId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getSolutionId() {
        return solutionId;
    }

    public void setSolutionId(Long solutionId) {
        this.solutionId = solutionId;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    public String getPayReq() {
        return payReq;
    }

    public void setPayReq(String payReq) {
        this.payReq = payReq;
    }

    public String getPayRep() {
        return payRep;
    }

    public void setPayRep(String payRep) {
        this.payRep = payRep;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }
}
